package com.matrix.java.chap_06;

/*
    财务应用程序：打印税表
 */
public class Ex6_15 {
    public static void main(String[] args) {
        System.out.println("Taxable Income\tSingle\tMarried Joint\tMarried Separate\tHead of a House");
        for (int i = 50000; i <= 60000; i += 50) {
            System.out.print(i+"\t");
            for (int j = 1; j < 4; j++) {
                System.out.print(Math.round(computeTax(j,i))+"\t");
            }
            System.out.println(Math.round(computeTax(4,i))+"\t");
        }
    }

    private static double computeTax(int status, double taxableIncome) {
        return 0;
    }
}
